import { CardItem } from '/@/api/gateruler/model/cardModel';

export type rulerType = Pick<CardItem, 'name' | 'other_ename'> & {
  // 等级上限
  maxLevel: number;
  // CNT卡牌数目上限
  maxCNT: number;
  // 军团上限
  maxLegion: number;
  // 总数上限
  maxTotal: number;
  // 同名卡上限
  maxSameCard: number;
  // 同名传奇卡上限 (card_class为L的卡 )
  maxSameLegendCard: number;
  // 传奇卡上限
  maxLegendTotal: number;
};

export const rulerArray: rulerType[] = [
  {
    name: '1. A - 学徒',
    other_ename: 'Ruler №1 A-アプレンティス',
    maxLevel: 50,
    maxCNT: 16,
    maxLegion: 2,
    maxTotal: 50,
    maxSameCard: 4,
    maxSameLegendCard: 1,
    maxLegendTotal: 2,
  },
  {
    name: '11. K - 骑士',
    other_ename: 'Ruler №11 K-ナイト',
    maxLevel: -1,
    maxCNT: 16,
    maxLegion: 2,
    maxTotal: 50,
    maxSameCard: 4,
    maxSameLegendCard: 1,
    maxLegendTotal: 2,
  },
  {
    name: '8. H - 山民',
    other_ename: 'Ruler №8 H-ハイランダー',
    maxLevel: 50,
    maxCNT: 20,
    maxLegion: 3,
    maxTotal: 50,
    maxSameCard: 1,
    maxSameLegendCard: 1,
    maxLegendTotal: 3,
  },
  {
    name: 'W-23 巫师',
    other_ename: 'W-23 ウィザード',
    maxLevel: -1,
    maxCNT: 16,
    maxLegion: 2,
    maxTotal: 50,
    maxSameCard: 4,
    maxSameLegendCard: 1,
    maxLegendTotal: 2,
  },
  {
    name: 'L-12 军官',
    other_ename: 'L-12 レギオン',
    maxLevel: -1,
    maxCNT: 20,
    maxLegion: 3,
    maxTotal: 50,
    maxSameCard: 1,
    maxSameLegendCard: 1,
    maxLegendTotal: 3,
  },
  {
    name: 'B-2 狂战士',
    other_ename: 'B-2 バーサーカー',
    maxLevel: 120,
    maxCNT: 16,
    maxLegion: 2,
    maxTotal: 50,
    maxSameCard: 4,
    maxSameLegendCard: 1,
    maxLegendTotal: 3,
  },
];
